package com.ebo.httpcall4j.core.repository;

import com.ebo.httpcall4j.core.model.HttpCallLog;

import java.util.List;
import java.util.Optional;

/**
 * http调用日志仓库
 */
public interface HttpCallLogRepository {

    Long save(HttpCallLog log);

    Optional<HttpCallLog> findById(Long id);

    List<HttpCallLog> findFailedLogs();
}